📚 Node [[org mode]]
↳ 📓 Resource [[@scalingsynthesis/org mode]]
📓 garden/scalingsynthesis/content/Org-mode.md by @scalingsynthesis ️🔗 ✍️

Authored by:: [[P- Brendan Langen]]

Org-mode is a GNU Emacs major mode for convenient plain text markup — and much more. It’s designed for PKM and task management, as an open source system.

https://orgmode.org/

Developed in early 2000’s, with focus on enabling reproducibility with literate programming patterns. Full system described in [[R- A Multi-Language Computing Environment]]

[[Pasted image 20210916110008.png]]

[[Pasted image 20210916110038.png]]

Loading pushes...

Rendering context...

📚 Node [[org_mode]] pulled by Agora

Org Mode is a markup language. A part of the Emacs, it’s often used for notebook-like computing, writing documentation, and preparing static files for services like this one.

I bought into the dreams of "doing everything in Org-mode" for awhile, but, while nice and convenient, the system ultimately is not intended to be some expressive database for all of these different types of data1 cached in plain text. It’s a decent document format that’s annoying and difficult to parse, but I have a ton of legacy work in Org so I’m going to stick with the format in part throughout my notes.

This post and the emacs docs are incredibly helpful for documentation.

Basic Formatting

The structure of an org-mode file is defined with nested headings.

: * Heading 1
: ** Heading 2
: *** Heading 3
: *** And so forth...

It supports several flavors of text:

*bold*, /italic/, _underlined_, +strikethrough+, =monospace=.

Links are rendered [[https://jacob.chvatal.com][with description]]
or without: https://karl-voit.at/2017/09/23/orgmode-as-markup-only/

Lists can be
- ordered
  - have sub-headings
    1. support enumeration
    2. as needed
- have definitions :: true.
+ works as well
- [ ] can be unfinished
- [X] or complete

: or rendered as preformatted text.
def logical():
    return f'Org mode can also'
           f'render code from many languages!'
echo "it supports any language that is supported by Emacs"
return "and can even display the result of evaluated code!"
print("Sometimes...")
It Contains Great Tables
42 With
Native Support!

|——-|——-| |tables without headers | asdf| |hjkl | should also be well-supported |

It has a single standard, and isn’t a ‘flavor’ of markdown or rst2!

References

Better defaults for Emacs

LaTeX

The Org Manual: LaTeX header and sectioning latex in links

Zotero

There is probably some viable research workflow here - I just haven’t found it. research workflow with zotero A research workflow with Zotero and Org mode zotero configuration John Kitchin: research with Org mode

Plugins

The best part about org mode isn’t its simplicity and flexibility – its that it has become an integral component of the Emacs ecosystem.

The format has support for calendars, TODO lists, and READMEs, so it’s flexible enough to express a variety of ideas that are conducive to a primarily text-based user interface.

org skeleton for tech specs Organizing a Complex Directory for Emacs Org Mode and Deft org-capture outside of emacs getting more out of org-capture

Strategies

using org mode to manage your life convert data into interactive org mode views LaTeX header and sectioning (The Org Manual) Org-Mode Is One of the Most Reasonable Markup Languages to Use for Text scallywag/org-board: Org mode’s web archiver.

https://gist.githubusercontent.com/rougier/ddb84c16c28f7cd75e27e50d4c3c43da/raw/0a91f0a6fd0b2e5fd097574cf1be82962d08db46/gistfile1.txt

wikinfo convert wikipedia infoboxes into org mode entries using org-noter org-capture and evil mode org-rifle

karl voit on orgmode org mode archival system built off of pinboard karl voit: using org mode as markup org-protocol using emacs org protocol

Notes

org-mode note workflow https://sachachua.com/blog/2010/09/new-note-taking-workflow-with-emacs-org-mode/ An Orgmode Note Workflow :: Rohit Goswami — Reflections

Project Management

Organize Your Life With Org-Mode Introduction Org Mode Project Management · Brian A. Maicke

Managing Agendas

My Workflow with Org-Agenda org-agenda using org mode to manage life

Wiki

Wiki Org-mode Workflow Part 3: Zettelkasten with Org-mode · Jethro Kuan https://www.eliasstorms.net/zetteldeft/ Zettels and Org-mode — Zettelkasten Forum

Org-Roam

A Tour of Org Roam - YouTube Org Roam for Academics Demo

Weight tracking and fitness

Exercise Tracking fitness with emacs Weight capture template fitnessorg: fitness workout tracker org-fit org-diet New blog and new post about exercise tracking in Org mode - orgmode

  1. Can I place a footnote here too? They should be lifted from the document flow, right?

  2. Ironically, I’m going to use the Org mode page to test markdown footnotes.

📚 Node [[orgmode]] pulled by Agora

Table of Contents

related [[pkm]] [[emacs]] [[orgparse]]

organelle is quite good for a project name? [[project]]

oh for fucks sake it doesn’t support <something.org#anymore??? [[github]]

fuck maybe it just never worked???
this "For instructions, see the special buffer howto." should be file link.. but not working here
https://web.archive.org/web/20190618202202/https://github.com/syl20bnr/spacemacs/blob/master/doc/DOCUMENTATION.org

custom timestamp formats for specific file?

-*- org-time-stamp-custom-formats: ("<%Y-%m-%d>" . "<%Y%m%d>") -*-

use with ‘org-toggle-time-stamp-overlays?’

make ,s to "refile to the same file"? i.e. "sink"

refile with inherited tags

  • State "STRT" from "TODO" [2019-02-16]

[2019-02-16] https://lists.gnu.org/archive/html//emacs-orgmode/2009-04/msg00149.html eh, not very helpful.. looks like it’s not there

https://lists.gnu.org/archive/html/emacs-orgmode/2009-04/msg00133.html

Really need to auto save on some operations? E.g. refile

[2019-10-07] outline sections Weekly /r/Orgmode Open Discussion - October 04, 2019 /r/orgmode [[blog]]

No … But workarounds exist … https://orgmode.org/worg/org-faq.html#closing-outline-sections

[2018-10-27] Fast refiling in org-mode with hydras | Josh Moller-Mara https://mollermara.com/blog/Fast-refiling-in-org-mode-with-hydras/

Map unschedule to capital u?

fucking hell helm tag completion is annyoing [[emacs]]

perhaps has to do with this… https://emacs.stackexchange.com/questions/32473/edit-org-mode-tags-using-ido-or-ivy-completion

[2019-10-01] alphapapa/org-sidebar: A helpful sidebar for Org mode

https://github.com/alphapapa/org-sidebar

[2019-10-06] ok, interesting but not sure how it would be useful for me?

[2020-12-06] org-sidebar-backlinks looks good? maybe use a sidebar with all todo items summary

need to setup a hook though to refresh it on buffer switch

[2019-10-05] Is it possible to clear src results in org-mode? - Emacs Stack Exchange

https://emacs.stackexchange.com/questions/35537/is-it-possible-to-clear-src-results-in-org-mode

Option 2 - Use :results replace drawer

use two different refiles: one file level, another heading level; use heading refile more often

refresh agenda after doing actions on it, right now completed future tasks still appear on agenda

CREATED: [2018-01-23]

org-refile: make case insensitive

check out more defaul org-evil-agenda bindings [[doom]]

[2020-01-10] Amazing library for org hackers /r/emacs

https://github.com/ndwarshuis/om.el

[2020-02-16] alphapapa/org-ql: An Org-mode query language, including search commands and saved views

https://github.com/alphapapa/org-ql#helm-org-ql

helm-org-ql
Note: This command uses non-sexp queries.

Github orgmode handling

[2019-07-30] novoid/github-orgmode-tests: This is a test project where you can explore how github interprets Org-mode files

https://github.com/novoid/github-orgmode-tests

for fucks sake https://github.com/wallyqs/org-ruby/issues/45

named +result heading seems to be broken…

[2020-02-26] ah, maybe it’s fine.. just needs :exports results?

[2020-03-17] yeah, it’s org-ruby and it’s #+results: thing that’s breaking it…

[2020-05-10] right. apparently preempting with newline and using a drawe allows not to remove it?

see hpi/doc/MODULES.org

[2020-07-15] right. apparently, :results scalar wraps it in beginexample and also works? see kobuddy

ugh, seems that #+result drawer fails to render?

like in arctee

#+begin_src sh :results output replace :exports output
./arctee.py --help
#+end_src

#+RESULTS:
#+begin_example

caveat: github doesn’t respect your custom ids [[transclusion]] [[github]] [[org]]

e.g. it’s generating "How do you use it?" -> how-do-you-use-it

search for completed tasks that have todo subtasks?

perhaps need to filter some files for org-ql search

e.g. files without tags like twitter.org. Maybe the easiest to make them .txt actually??

autorefresh agenda?

https://github.com/m-cat/org-recur#recommended-org-mode-settings

(defun org-agenda-refresh ()
  "Refresh all `org-agenda' buffers."
  (dolist (buffer (buffer-list))
    (with-current-buffer buffer
      (when (derived-mode-p 'org-agenda-mode)
        (org-agenda-maybe-redo)))))

hide drill from agenda

[2019-10-26] Code blocks - Org Babel reference card [[blog]]

https://org-babel.readthedocs.io/en/latest/eval/